Add local HTTPS staging for Arch Linux ARM mirrors - #3
Open
ryanrhughes wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a standalone Python 3.9+ command to stage Arch Linux ARM repositories locally over HTTPS. It defaults to aarch64 core, extra, alarm, and aur, using repository databases as package manifests without third-party Python dependencies.
The command verifies package sizes and SHA-256 on downloads and incremental runs, preserves package signatures, and publishes metadata only after all selected packages verify and upstream databases/signatures remain unchanged. It includes stage locking, disk-space checks, bounded concurrent downloads, optional pruning, JSON status reports, and per-repository freshness markers.
Malformed databases and unrecognized
.files-only entries fail by default. Explicit recovery options can retain verified packages from an all-NUL record's exact.filescounterpart or permit a named orphan, but report degraded status (exit 3), withhold metadata/freshness publication, and skip pruning. Preserving signatures does not itself authenticate them; that remains a pacman/keyring validation step.Validation:
9f0bf38.Remaining upstream blockers: Florida's
extra.dbstill has an all-NULfindnewest-0.3-4/desc; its readable.filescounterpart allows package verification but does not repair pacman metadata.extra.filesalso referencesqemu-system-cris-9.1.2-1-aarch64.pkg.tar.xz, absent from.dband returning HTTP 404. A normal full sync remains blocked pending upstream correction; the staged tree is not certified ready to serve.This adds ARM staging, tests, CI, documentation, and ignore rules only. Existing x86_64 and T2 mirror workflows, production services, and R2 uploads are unchanged. Downloaded packages and local reports are Git-ignored.